/*
 * winhelo.c
 *
 *  Created on: 2017年4月8日
 *      Author: pengzhikang
 */

#include "system-api.h"

int rand(void);

void HariMain(void) {
	char buf[150 * 50];
	int win;

	win = api_openwindos(buf, 150, 50, -1, "hello");
	api_boxwindosfill(win, 8, 36, 141, 43, 3);
	api_putwindostext(win, 28,28,0,12, "hello world");
	for(;;) {
		if(api_getKeyboardData(1) == 0x0a) {
			api_end();
			break;
		}
	}
}
